package Demo06;

import java.util.Scanner;

public class zhenshu {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入一个整数");
        int a=scanner.nextInt();
        System.out.println("请输入一个整数");
        int b=scanner.nextInt();
        int c= a+b;
        int d=a-b;
        System.out.println("和"+c);
        System.out.println("差"+d);


        }
    }

